home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / backup / tob-0.13 / tob-0 / tob / doc / tar.txt < prev    next >
Text File  |  1994-12-05  |  3KB  |  69 lines

  1. This is GNU tar, the tape archiving program.
  2. choose one of the following:
  3. -A, --catenate,
  4.     --concatenate    append tar files to an archive
  5. -c, --create        create a new archive
  6. -d, --diff,
  7.     --compare        find differences between archive and file system
  8. --delete        delete from the archive (not for use on mag tapes!)
  9. -r, --append        append files to the end of an archive
  10. -t, --list        list the contents of an archive
  11. -u, --update        only append files that are newer than copy in archive
  12. -x, --extract,
  13.     --get        extract files from an archive
  14. Other options:
  15. --atime-preserve    don't change access times on dumped files
  16. -b, --block-size N    block size of Nx512 bytes (default N=20)
  17. -B, --read-full-blocks    reblock as we read (for reading 4.2BSD pipes)
  18. -C, --directory DIR    change to directory DIR
  19. --checkpoint        print directory names while reading the archive
  20. -f, --file [HOSTNAME:]F    use archive file or device F (default /dev/rmt0)
  21. --force-local        archive file is local even if has a colon
  22. -F, --info-script F
  23.     --new-volume-script F run script at end of each tape (implies -M)
  24. -G, --incremental    create/list/extract old GNU-format incremental backup
  25. -g, --listed-incremental F create/list/extract new GNU-format incremental backup
  26. -h, --dereference    don't dump symlinks; dump the files they point to
  27. -i, --ignore-zeros    ignore blocks of zeros in archive (normally mean EOF)
  28. --ignore-failed-read    don't exit with non-zero status on unreadable files
  29. -k, --keep-old-files    keep existing files; don't overwrite them from archive
  30. -K, --starting-file F    begin at file F in the archive
  31. -l, --one-file-system    stay in local file system when creating an archive
  32. -L, --tape-length N    change tapes after writing N*1024 bytes
  33. -m, --modification-time    don't extract file modified time
  34. -M, --multi-volume    create/list/extract multi-volume archive
  35. -N, --after-date DATE,
  36.     --newer DATE    only store files newer than DATE
  37. -o, --old-archive,
  38.     --portability    write a V7 format archive, rather than ANSI format
  39. -O, --to-stdout        extract files to standard output
  40. -p, --same-permissions,
  41.     --preserve-permissions extract all protection information
  42. -P, --absolute-paths    don't strip leading `/'s from file names
  43. --preserve        like -p -s
  44. -R, --record-number    show record number within archive with each message
  45. --remove-files        remove files after adding them to the archive
  46. -s, --same-order,
  47.     --preserve-order    list of names to extract is sorted to match archive
  48. --same-owner        create extracted files with the same ownership 
  49. -S, --sparse        handle sparse files efficiently
  50. -T, --files-from F    get names to extract or create from file F
  51. --null            -T reads null-terminated names, disable -C
  52. --totals        print total bytes written with --create
  53. -v, --verbose        verbosely list files processed
  54. -V, --label NAME    create archive with volume name NAME
  55. --version        print tar program version number
  56. -w, --interactive,
  57.     --confirmation    ask for confirmation for every action
  58. -W, --verify        attempt to verify the archive after writing it
  59. --exclude FILE        exclude file FILE
  60. -X, --exclude-from FILE    exclude files listed in FILE
  61. -Z, --compress,
  62.     --uncompress          filter the archive through compress
  63. -z, --gzip,
  64.     --ungzip        filter the archive through gzip
  65. --use-compress-program PROG
  66.             filter the archive through PROG (which must accept -d)
  67. --block-compress    block the output of compression program for tapes
  68. -[0-7][lmh]        specify drive and density
  69.